package com.ftg.product.exam.vo;

import com.diboot.core.binding.annotation.*;
import com.ftg.product.exam.entity.PaperBasedetail;
import com.ftg.product.exam.entity.PaperBase;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
* 记录生成的试卷里面所有有题目，以例生成试卷 ListVO定义
* @author kangjx
* @version 1.0
* @date 2021-01-15
 * Copyright © ftg
*/
@Getter @Setter @Accessors(chain = true)
public class PaperBasedetailListVO extends PaperBasedetail  {
    private static final long serialVersionUID = 5870583928782107364L;

    /** 
    * 关联字段：PaperBase.title
    */
    @BindField(entity = PaperBase.class, field = "title", condition = "this.rulecode=id")
    private String rulecodeTitle;

    /** 
    * 关联字典：ANSERID
    */
    @BindDict(type=DICT_ANSERID, field="ansercode")
    private String ansercodeLabel;

}